|
|
> what algorithm did you use to determine the location and size
> of your snow blobs? I've never seen snow.
You've never seen snow? I probably shouldn't take this literally.
Well, I used Gilles Tran's "makesnow.inc" at first, then modified it to
speed up parsing but the idea is still a very simple approximation:
I declare a direction vector that simulates wind and gravity, such as
<-1, -1, 0> which would tend to cover the top and right side of an object
(assuming y is height). The size of each particle is random but has a
minimum & maximum limit. I use the "trace" feature to shoot rays at an
object, which in my case is an imported mesh2... Gilles' macro can be found
here: http://www.oyonale.com/ressources/downloads/makesnow.inc
I know you're skilled when it comes to handling triangles - so good luck -
the project is interesting - but feel free to stop when you want to.
Best wishes,
Hugo
PS: we should probably continue the thread somewhere else.
Post a reply to this message
|
|